Package com.cisco.pt.ipc.sim.pdu.impl
Class IEEE802Dot3HeaderImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
com.cisco.pt.ipc.sim.pdu.impl.PduImpl
com.cisco.pt.ipc.sim.pdu.impl.HeaderImpl
com.cisco.pt.ipc.sim.pdu.impl.EthernetHeaderImpl
com.cisco.pt.ipc.sim.pdu.impl.IEEE802Dot3HeaderImpl
- All Implemented Interfaces:
IPCData,EthernetHeader,Header,IEEE802Dot3Header,Pdu,Signal
-
Field Summary
FieldsFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.EthernetHeaderImpl
dstMacAddress, frameCheckSequence, srcMacAddressFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.HeaderImpl
payloadFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
fieldNames, fieldTable, signalType, typeTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeTypeAndPayload(EncodedBuffer buffer) getFieldType(String fieldName) voidpduRead(EncodedBuffer buffer) voidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidsetLengthType(Short lengthType) Methods inherited from class com.cisco.pt.ipc.sim.pdu.impl.EthernetHeaderImpl
getDstMacAddress, getFrameCheckSequence, getSrcMacAddress, setDstMacAddress, setFrameCheckSequence, setSrcMacAddressMethods inherited from class com.cisco.pt.ipc.sim.pdu.impl.HeaderImpl
getPayload, setPayloadMethods inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
getFieldValueMethods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.sim.pdu.EthernetHeader
getDstMacAddress, getFrameCheckSequence, getSrcMacAddress, setDstMacAddress, setFrameCheckSequence, setSrcMacAddressMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Header
getPayload, setPayloadMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Signal
getFieldValue
-
Field Details
-
lengthType
-
-
Constructor Details
-
IEEE802Dot3HeaderImpl
public IEEE802Dot3HeaderImpl()
-
-
Method Details
-
getLengthType
- Specified by:
getLengthTypein interfaceIEEE802Dot3Header- Returns:
- Short Returns a Short
-
setLengthType
- Specified by:
setLengthTypein interfaceIEEE802Dot3Header- Parameters:
lengthType- Takes in a parameter of lengthType
-
getFieldType
- Overrides:
getFieldTypein classEthernetHeaderImpl
-
read
Reads this object from an EncodedBuffer of raw data- Specified by:
readin interfaceIPCData- Overrides:
readin classEthernetHeaderImpl- Parameters:
buffer- The EncodedBuffer that contains the raw data from which to construct this object
-
pduRead
- Specified by:
pduReadin interfaceSignal- Overrides:
pduReadin classEthernetHeaderImpl
-
getOrderedFieldNames
- Specified by:
getOrderedFieldNamesin interfaceSignal- Overrides:
getOrderedFieldNamesin classEthernetHeaderImpl
-
encodeTypeAndPayload
- Specified by:
encodeTypeAndPayloadin interfaceSignal- Overrides:
encodeTypeAndPayloadin classEthernetHeaderImpl
-